Move get_queue and iter_queues