Added in pagination and nthClass options