Defined devices and state