Pass commands through the API at enqueue (rather than at dequeue) time. (dm)