Breaking API change: removed getIndex (neither needed nor powerful enough)