Remove useless classes