Added support for pagination for a single schema