Removed debug logging.