Include nClass and sClass in toHash output.