Remove reference to device.h