Added methods to modify an elements classes.