Refactor jobs.mote.