Removed redundant debug logging.