Make fetchSlice compatible with custom repository method