Implement local secondary indices.