Automerge internal data structures