Fix error messages. #6