Add insert batch as a function to overwrite in drivers