Support for enum primitive
Support for enum primitive