Removing usage of node-dir