Partial oxidation of the absorber layer reduces charge carrier recombination in antimony sulfide solar cells.