DNode: some improvements and phpdoc