Allow for better template error output.