generate simple optionless validators