Access level changed to public on nextStreamId()