Added an example using the pipeline.