Remove will_paginate related code