Adding isPresenceRequired and isEmptyAllowed to Validator