Remove duplicate energy classes due to refactoring.