Defined a simple class-method DSL for PaginatedCollection