Decode bytes to unicode strings before indexing them.
Implement the generalized version of indexkeys() method.
Make Levenshtein distance as a configurable parameter.
Improve the test cases to fit the new semantics.