Added more verbose logging.