Added part of the pipeline implementation.