Remove generate root class.