hotfix) project.add_docs is sometimes called without specification of docs_array.