Add pagination helpers.
Rename the debug helper to inspect to avoid conficts with swag.