add will_paginate support