Move ConfigTypeExtractor to ConfigRegistry