Dispatch commit event.
Merge pull request #178 from goraft/commit-event

Dispatch commit event.