Lower-level stream init/deinit