updated CasadiTree and Types, this breaks everything else