You can make it a case class, so you don't need the val in the declaration.