not make LocalCluster a case class?