Refactors NVM_SOURCE