Fix deprecated vector/number operations