Clean up some debug messages inside handle_message.