Pipeline with no functions passed

Improves behaviour when no functions are passed to pipeline.