Remove wrong code (after the refactoring).