Adds service provider for twig