def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def setdefault(self, key, default=None):
        return self._collection.setdefault(key, self._from_python(key, default))