Allow the validate() method to be extended