Rename drain_opts to pipeline_opts