Removes last two references to Scorer.getWeight().