Removed extra writeCommit method. Distinction is not necessary,