Improve debug messages.