Allow conversions between Dynamic and cpp.Pointer