Limited flatMap added.