Fix class string leak.