Added int and float validators.