TemplatePage. Added options to set contentType, responseCode, baseTemplate.