Commit before deleting unnecessary stuff