Added verbose debug logging.