Remove unused elements
Modify request to fetch documents