Extract render to basic paginate renderer class, and you can create your own renderer