[INCOMPATIBLE CHANGE]Remove deprecated classes.