Improve error messages when we can't find a typeexpr on a method.