Just changing some error messages to more appropriate ones.