add insert and set legacy function to vector
remove forward declare of non-existent Stream