Remove not-required classes