Cleaned up console logging.