Refactor commit.