Added path resolution for NP requires.