Fixed the Obsolete messages for AddNative/GetNative