Typo in method name check

Fixes #62