enums should use to_klass (not to_model_instance)