Remove unneeded dep from `cacheIndexOf`.