Public profiles and refactoring