Added error template.