Add functions to register/unregister new base types. Closes #124342. [applied]