modify some imple classes.