Updated docs and ptree