Changed approach to a generator pipeline.