Example of changing device class in a modeler plugin.