CSHARP-797: Initial implementation of IndexMap class.