Should have been using device->props.version.