Added the ability to remove objects from the queue