Improve commit behavior.