Add `Registry.prototype.extensionsForType`.