Added NewickError import