def _atomicModification(func):
        """Decorator
        Make document modification atomic
        """
        def wrapper(*args, **kwargs):
            self = args[0]
            with self._qpart:
                func(*args, **kwargs)
        return wrapper