Observes object modifications, so object actions can be undone and redone as well.