Thanks for this nice package!
I'm using it for a routing application that is only interested in the nodes that appear in ways. To filter this and not run into memory problems, my approaching was to scan a file twice; first for the ways, then again only for the relevant nodes. Is there an easy workaround to skip the way/node/relation blocks entirely?