Added support for bulk insert