Trim pipelines to sources, and add c.pipeline()