remove some unnecessary functions from Vector