Refactor conflicting_pair_fixer to have a class object that can store state.