Fix a potential problem with StatisticImageProperties Class definition.