Added notes on stream locking.