Add a queuing mechanism to the library.