Manually call stream.Transform's constructor.