Encapsulate actions with a pipeline abstraction.