Didn't know about `Enum#flat_map`.