Add support for dynamically determining the class of an embedded document.