Twig validate is granted custom method.