Allow options to be passed to dequeue.