Change pagination to be more flexible.
Update documentation to reflect changes to pagination.
Bump version.