Discovered an attribute was missing on the Document class, so added it.