fix-#789: abstract shouldn't be inherited in EmbeddedDocument
Merge pull request #790 from DavidBord/fix-789

fix-#789: abstract shouldn't be inherited in EmbeddedDocument