Remove not necessary classes