Allow setting slices to a scalar value.