Allow hdsTrace() to work with slices