- Rename `error` option to `raiseError` - Let `contentType` be `nil` by default and set them later properly depending on arguments.