Added a composite object pattern.