Added simple numeric validator.