Use class deque that allows nulls