Fix embedded enum type definitions

Enum types did not consider a defined "title" property