Support IndexedIterable as valid keyPath
Correct .ts definitions, support for Cursor