Added option to stack queues.