remove retired classes