Remove all references to the deque stuff (use TAILQ instead)