Use prev-archive instead of prev because it's got immutability semantics.