Added utility method to create tree paths.