Add weaving.
Implement partial entity merging.
Assign a fetch group before merging and then flush.