Replace the chart_for_domain with the GEM variant.