Ongoing development for returning a list of documents