Fix get class info.