Add Pagination to resources. Fixes #4