this should have docs (assuming that it is public and for people who want to use their own deque)