#KJ-88 Cleanup the execution logic of method invocation. Minor simplifications for the function lookupSignature()