Abstract: A method of making a photovoltaic cell includes providing a metal oxide substrate. The substrate is at least translucent to light. The substrate is directed through a deposition chamber. A semiconductor is deposited over a first major surface of the substrate. The semiconductor includes a polycrystalline p-type layer. The semiconductor is exposed to a chlorine-containing compound or a chlorine molecule. A second electrode layer is provided over the semiconductor.