Add more descriptive error messages.