Make adding more types simpler in the Registry.