Added further logging.