Composite entity pattern