added generation of paginating methods;