Pre-Transform Refactor Code