UnivariateStatistic classes should be Serializable since they are used as fields of the Serializable DescriptiveStatistics class