Delete useless classes