remove not functional classes.