Implemented protocol register & removed previous dht.