Refactoring AbstractProfile