add support for enum aliases
* flags are still missing, following next