Clean up code duplication in adding or removing tag by region.