Adds an item if the tree is mutable

def addItem(self, item):
        """Adds an item if the tree is mutable"""
        try:
            self.tree.addItem(item)
        except AttributeError, e:
            raise VersionError('Saved versions are immutable')