Added Index.IsPrimary() and PrimaryIndex.ScanBucket().