Refactoring, path transformer component