Fixed the prototypes for slicing functions