Made bulk inserts more efficient.