Add support for enums and function names.