[[feature-enumvalueref]] Add enumerated type definitions.