Add support for enum types