This way we fix a previously uncaught casting error due to using different types. PiperOrigin-RevId: 765177079 Change-Id: I4f817f12c92fe578b25e8c53a94b3c91e22a3db0