Added support for enumeration types.