Added method 'removeQueues' for queue handlers