Cleanup of debug messages.