Commit before cleaning.