It can be a case class, it is almost always boxed anyway.