Implemented nullable option on validator.