Add support for capacity on Queues