Extracted to case class.