Bulk writes API

TODO