Add paginate mode to params