Added resolve path method for nodes