Prepare to write the pipeline.