Make sure to initialize rdType as this may cause a SEGV via the bridge.