Fixed bug.  dequeue was not generic (fallout from imprecise refactor)