Pagination.  Fixes #7.