make defined enums inheritable