Move twig extension to boot() instead of register