Added configuration for pagination.