Enqueue functions, and call them sequentially.