Make RegistryConfig a typed value in the api. Upstream-commit: be7d346504a6995ccc9a69cf95d92b8fb3847a74 Component: engine