Switched converter and Twig extension properties to protected scope so that they can be extended.