Implemented methods to add and delete nodes in the watchtree.