add insert and set legacy functions to vector
remove non-existent forward declaration of Stream