Materialize references in-place, don't copy.
Updated history.