Delete unwanted classes