Add CompositePattern