remove unneccesary transition class declarations