Doc fixes for pagination