Do not access the stream handle directly