Updated the twig extension to use the new Twig_SimpleFilter