Some refactoring in profile handlers to expose explicit methods for the determination