Scala refactoring misses things sometimes.