Fix parsing of classes (parse nested) in semantic  type dialog