Used refactoring catalog item: Replace Temp with Query