Added diagrams to show hierarchy