Remote refactoring