Auto cast in Document
Auto cast in Event
Beginning of extracting setting of attributes into module
Use symbols in casting_attributes
Use casting_attributes in other classes