require 'service' to be of class Service.

(otherwise job submission is broken by mongokit)