Fix style: white space in exports and imports.
Fix style: bullet points in comments.
Improve documentation for pagination.
Implement generic pagination internally.