Search methods now return offsets instead of indexes. Test for Cache.search meth-d added, method not implemented yet.