Generalize queues to safely handle concrete Job objects