Added setContentType to PHPTemplateOutput