Removed some of the console logging.