Import the TemplateRenderer (like the other guests do).
You need to include the module to use the class without ::s.