Added opSlice for ranges.