Ensure an embedded document is pre-initialized in EMongoDocument::setAttributes if its class is dynamically determined