Added NodeWrapper to easily access node attributes in the object-oriented interface.