Add Composite pattern.