Persistence model added. Not tested.