Upper case on method check. Fixes #1109.