Support assigning a vec<T> to pub objects