Don't assign methodInfo to the function object, which has resolve hooks.
Merge pull request #7 from syg/goddammit

Don't assign methodInfo to the function object, which has resolve hooks.