Refactorize student profile model.