Added .log() to device class.