[TransCodeSetup] cleanup some code slightly, fix Defaulting.