Added the error templates