Added ability for node routing to support methods and updated the version of apply.