Update for removal of Deque trait