Removed unnecessary debug logging.