defpipeline now returns the pipeline, not its metadata