Add composite design pattern.