Reduce duplication between visualisers