Rewritten persistence