modifies object::to_vector(runtime&)