Adds pagination to all get calls.