Add partial support for slicing