Add support for Deque<T> and ArrayDeque<T>