`immutable.IndexedSeq` as api type? Perhaps this is just internal?