Only check for the outputStream to be non-null if no overriding renderer has been set. People may wish to supply something other than an OutputStream.