Add pagination configuration.