Refactor jobs.