Implemented and tested NPM protocol.