Prevent dynamically routing to a method that is already routed to.

Fixes #940