API cleanup: TreeCompiler variadic write fn