Adding persistence to transactions. Work in progress.