Add more debugging logging.