added reset method to reset the validator status
added setOption method for __invoke method to hanlder argument