allow enums in interface methods