Make the queue a parameterized type