Added `scan` to Vector.Internal