Fix upstream Sizes api change