Got pagination working.