Refactoring system. Part IV