Added a method to retrieve a node by its full path.