Removed resolveinvocationongiventarget call.