Modified `RenameMethodsBase` to allow setting the deprecation warning
on a per method basis.