Added support for non-persisted queues.