Serialise commits to the DB when re-initialising.