supooting Twig_SimpleFilter and Twig_SimpleFunction is needed