Make some TrainingSession methods const
Fix spelling mistake in warning message