Improve error message about unknown method.