Update API to include xml support in tree store