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.
Fix function name in comment
Merge pull request #34 from ttasanen/fix_comment

Fix function name in comment