It might be nicer to just pass a class to something which then abstracts away the queues.