Fixed error in enumerations_mixin