So looking at the behaviour of Seq in the scala shell, it looks like we can replace this toArray with toSeq and not have the performance hit for now (until we start using something other than Seq's as iterables at which point we actually get benefits from the change).