Just a thought - seems like `indexedKeys` can become an overhead when dealing with large keysets. Is there a any way to avoid this? perhaps an `Array[Byte] => K` ?