This commit also handles the inflation of Documents as expressions are evaluated due to the internal caching in the Document class.
This commit also handles the inflation of Documents as expressions are evaluated due to the internal caching in the Document class.