Add BooleanValidator class