Fixing the Smelter to Proper code.