Moved pagination to composite component.