Changed some error messages.