Removed console logging.