export isolateEntities and add a doc