Implement a queue with namespacing support.