DocumentAssignable provides a common interface for objects that can be
converted into a document.
API Notice:
This interface is part of the driver's API. Public and protected
members will be deprecated for at least 1 non-bugfix release
(version numbers are <major>.<minor>.<bugfix>)
before being removed or modified.