Simpler factory method with varargs for tree