Add twig extension with custom filters.