Recover the commit functionality