Merge "Keep members that are weakly referenced from native code" into main