better support for native AN enum; removed handling of DEPRECATED fields