Oh, Function.prototype.toMethod() works.