Improve assertion messages.