PsiTrainingState class is refactored.