expose stream.mode to the outside
document stream.mode
1.2.0