Use new int/long methods on vector classes