This was removed by mistake in 9eb42f (PR #25978). Reverting some of those changes and adding the new mechanism to autogenerate conversions for the new types that we might define in this API group in the future.
Conversion is now generated by Makefile, on demand, rather than all at once. Manually verified no net change in generated code.