Remove unnecessary isEmbeddedDocument checks in the UnitOfWork.
Remove need for UnitOfWork::cascadePostPersist
todo