make twig extension private