Adds support for slices