Making case class.