Move extract parameter method to PipelineUtils