Fixed a refactoring problem.