Add Deque add/remove implementation.