The previous API exposed an int (not the uint) and we'll keep the same in the public API