Starting to work on streams (#288). Writing the doc.
Continuing the doc of streams (#288).
Doc: update stream API.