Add flatMap example.