Added proper type casting invocation resolution for bridge method calls.