Also added documentation for the clear queues