Add pagination features

Signed-off-by: Adam Engebretson <adam@enge.me>