[gh-11] Update pagination to 4.0
Merge pull request #31 from ericras/issue-11

Closes #11