Cleaned up the debug messages.