Improve persist and commit model
Merge branch '1.0' into 1.1