Keep pagination DRY.