Memento pattern is added.