Made type attributes be able to be defined at the type level