Support for renaming nodes, fixes #87