Added will_paginate for arrays.