Remove non required classes