Abstract out paginator components