Use metaclass and __getattr__ to expose collection methods on the Document.