rewrite component as an extension of th-geocoder