Start to implement dequeue.