Add support for repeating element.

Move operators to 'stream' from 'pageNode'.
Modify examples to reflect the changes.