Replace Twig_Filter_Method by Twig_SimpleFilter