Add TemplateResolver. Add TemplateCompilationException and TemplateParsingException.