Updated the error messages.