EmbeddedDocument._instance is now set when settng the attribute (#506)