Added support for nullable enums