Refactoring cookbooks