Fix classmap.