Tidy up the error template a little.