created two distinct embedded types: EmbeddedModelType and EmbeddedDocType