Extract a CountryComponent class.