Add a method to return the node of the document