Add Clear method to queues.