Support for slices and offsets in elementwise computations.