`rank` method should be added and `isVector` / `isScalar` should use it from then.
rankmethod should be added andisVector/isScalarshould use it from then.