Spatch is a really neat tool that lets you apply diffs to code according to syntax! https://github.com/facebook/pfff/wiki/Spatch (eg remove 1 arg at all callers)