Corrects silly instantiation error. Now fixed with TreeFactory.