Adapt variant class
Reimplement ingestor as state machine.