Fix for case-sensitive comparison on method names