added toString() to ClassInfo