LPS-46261 support for sharing ADTs in the hierarchy

reviewed by @epgarcia