Added argument to tree schema validation