Should use stream_id for  consistency. This is currently not implemented but will be changed in the engine, and thus breaking this line if it's not changed. same goes for the line below this comment