Added pagination tools.