Pagination support (RUBYAPI-1)