Patterns for encapsulating class trees · Study