Components of the memento pattern