generate aliases for enum