Fixed bug #53826 We should handle the case where the method doesn't exist, and where it is not visible the same way.