Abstracting resolving of parameters in function/method calls