Migrating Existing Code in a Refactor