Added contentType to slice()