Companion object of case class doesn't extend function if it has more than one effective parameter clause.