Remove stream.parameters which wasn't being set consistently. Fixes issue #2881.