Added documentation for pagination