Got rid of the `instanceof` switch now that there are multiple instances
of `ContentOutputStream`.