Added boolean validator