Fixes #4803: Remove dead code in Node API 4

http://www.rudder-project.org/redmine/issues/4803