Add stacks and queues.