Added some helper methods for manipulating node data.