Refactored job queues so they only provide two pieces of functionality: submit to queue, and get contents of the queue