API changes to kaminari