Layer.objects.bulk_create(
            [self._transform(l, layer_name, doc_type) for l in layers],
            batch_size=settings.BATCH_SIZE)