Small cleanup in the chart backends.