added a clear-class-attributes method, and added it to set-default-attributes so...