Changed device struct.