Enable batch writing