Refactor commit