Like there's the stuff that can be refactored because the changes are local, or the places to change are clear.
And then the stuff that is a lot harder to refactor because you would need to change code in a lot of places, and the places that need to be changed aren't clear. That's probably more the proper design of a codebase stuff.