Profile refactoring.