Fix override of embeddeddocuments