Add support for simple FIFO and LIFO queues.