Add enqueue and dequeue support.