Refactor, extract pulls and get example pull