Changed error messages.