Removed redundant logging.