Refactoring OKScoreCache. Part 1.