Refactoring automators