Removed the node_type method crap.

The logic this was used for now only resides in the pull parser, instead of
being exposed to the public.

This fixes #30.