Add pagination module.
Change page iterator to include current api.