Added parent/child relationship and data to ItemType.

Avoid using {...} for multi-line blocks.