Added support for pipeline.