Beautify error messages.