Add << to add object and [], []= for array behavior of composite