Correctly report the function name a method is called on
Add function to class mapping for methods