Fix undefined method stat_year