def fetch_object(self, doc_id):
try:<EOL><INDENT>return self.object_class.objects.get(pk=doc_id)<EOL><DEDENT>except self.object_class.DoesNotExist:<EOL><INDENT>raise ReferenceNotFoundError<EOL><DEDENT>
Fetch the document by its PK.