Fix build after refactoring profileModel