We should consider adopting the scancode.io "pipeline" approach for visit/map/collect. It would provide a unified programming model across our tools.