Corrosive compounds, especially O and CO must be removed, usually by use of a deaerator. Residual amounts can be removed chemically, by use of oxygen scavengers. Additionally, feed water is typically alkalized to a pH of 9.0 or higher, to reduce oxidation and to support the formation of a stable layer of magnetite on the water-side surface of the boiler, protecting the material underneath from further corrosion. This is usually done by dosing alkaline agents into the feed water, such as sodium hydroxide (caustic soda) or ammonia. Corrosion in boilers is due to the presence of dissolved oxygen, dissolved carbon dioxide, or dissolved salts.