Add typeName to available fields when rendering a template.