Pipeline run refactoring.