Working data structure for composite pattern