Changed enums to mixin type Attribute and created Attribute Listener