Delete useless class and clean codes.