[doc,streams] Use new type directives.