Remove super class chain in genereated classeS.