Added docs for conditionall allowEmpty and notEmpty