Added auto commit.