Use more descriptive error messages.