Worked out impl issues, ptree basic tests pass.