Copied over and updated Index from Playground. Added CGMap, an aliased Index.