Creating enums automatically as well