Added wrapper for Queue and PriorityQueue