Commit takes a callback