Flattening the component and class entities (with respect to their member attributes)