Refactoring for batch changes.