Altered some error messages.