Simple refactoring.