Second pass at better separation of concerns between dom.persistent and
dom.memtree