Adding functionality to export clusters.