If using invoke(params, 'somefunction') somewhere in the code and then we later rename somefunction to someotherfunction, an error should be thrown to let the developer know that invoke is being called with the wrong function name.
A use case for this is when a function is renamed through the IDE if 'search in strings' when refactoring is disabled.