Commit implementation.