Seperated pruneSteps as a util template.