Move IHistory to AbstractDocument.