Pass document_list in as a local param