Some corrections in batch creation of generic objects