Add ability to restore transactions