API changes on js/Struct/Tree