Added documentation for queues