Change from ~[T] to Vec<T> for hash mod.