This should be done at the top of the file when defining the class rather than doing it each time you cal ``render`` (similar to the Twig, Templating or the ExceptionHandler)