ng a method or property of the first hardware device class for the first hardware device node in response to user input; changing the first hardware device node to have an association with a second hardware device class in response to user input; and performing type checking to determine whether the method or property is valid for the second hardware device class, in response to said changing the