Refactoring export generator