Introduce the ClassIndex. This uses a reg.Map in its implementation.