Switched Twig extension properties to protected to allow for extension.