Initial implementation of macro-based enumerations