Fixes and removed setValidator() setType