Configure deprecation for type-tree