Add flatMap to Array.