Drop uses of toVector for 2.9 build.