Refactoring direx:echo-item