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