Correcting grammar - nodes aren't remembered in parser now.
Constructing trivial document