Support for allowOptionalEmpty