Fixed namespace conflict in Queue class