Refactoring spells