A class to generate pagination results for supplied arguments.