Cleaning up debug messages.