docs: function rename(newName) {
        newName = newName.replace(/[\.\/]/g, '');
        if (this.isRoot()) {
          this._name = newName;
        } else {
          var newPath = [this.parent.path(), newName].filter(function (e) {
            return e !== '';
          }).join('.');
          this.moveTo(newPath);
        }
      }