Removes some debug logging.