Dom is a case class.