Added slicing support