Giant unintelligible refactoring.