Memento/Context cleanup.