def __init__(self): self.notifier = Notifier() self.delegate = Delegate() # Attachment objects indexed by image file name self._attachments = {} # Chapter objects indexed by document file name self._chapters = {} self.endnotes = {} self.footnotes = {}