Add Event and extend() method in Validation