Add support for the embedded document.