def _insertChild(self, key, child): if isinstance(child, Set): child.write() Protocol._insertChild(self, key, child)