ExtensionRegistry constructor Null safety

ExtensionRegistry()