Looking at this again, do we really need this method? I think `setEncodingOptions()` is enough (as it is more explicit).