Refactoring plugins