Added support for parsing enum constants