Implemented bulk insert.