Added batch import functionality.