Making sure that enum_methods behaves like enum