Added an AsSlice method