SObject[] createContainerMembers(final String containerId, final ComponentList list) {
List<SObject> sObjects = Lists.newArrayList();
for (Component component : list) {
SObject toAdd =
serviceLocator.getToolingService().componentDelegate(component, list,
new ContainerMemberFactory(containerId));
if (toAdd != null)
sObjects.add(toAdd);