Improve MainInsights template.