Added parm_kind field and saving it. * Debugged object id saving