Added PipelineContext object and corresponding custom serializer to make working with pipelines easier.