Full support for enumeration types, including visualisation