Enable passing of mode (set/merge) via kwargs in Collector.analyze