Added idempotent and duplicating STM queues.