Refactoring paths