modify some classes.