Added a getDataReference() function to node