Modify device classes.