Make defined enums inheritable