Move alternateImpl detection into MethodInfo constructor.

Would close #406.
Right, with profiling enabled (`&profile=1`). I'll revert this and reopen the PR.