Make pagination variables accessible via the view helper.