Support for pagination with datamapper