Replace some ~[]'s with Vec.