This would seem to break if not all resources in the manifest use the same shadow CIB.