Adding some code for persistent / durable queues.