Refactored deployment processors to remove duplicated code