Download the document given the id.

def get_document(self, doc_id):
        '''Download the document given the id.'''
        conn = self.agency._database.get_connection()
        return conn.get_document(doc_id)