Adding validators and boolean type