Added stream method to TemplateHelper