The method validate() to head.