Refactoring out Run logic.