Replace more ~[T] with Vec<T>