Add a reference() method to memento, simplifies reference() method in EditorHistory.