Refactoring commit interface