Refactoring jobs/instances out.