Add indexing on subspec names

why?