Renamed SetHistoryMaxLen to SetHistoryCapacity