Add pipeline releated improvements.