Small refactor to return document list in one line