Is this necessary? Stream is a base class not exposed to the user.