Take parameter types into account when resolving function calls.