Removing regex hacks for native registration to make things more robust.

And apparently it's OK that the invalid source mappings are in the native definitions.