All type classes to enums