Is there any reason why you created a case class, and not just use a type alias?