Typo in a method protocol. Fixes #940