Enum40 now supports multiple levels of inheritance, and handlers too