Application refactoring.