Improve RpcProviderRegistry loading