Initial try at pagination.