As noted elsewhere, I think - let's leave $region_code and $column as the first two parameters, adding $country as the third.  Also, it's probably fine to leave the $column param as is, seems to have been renamed to $attribute, but not updated in the code.