Changed AllInTable to be a case class.