A general model of metal underpotential deposition in the presence of thiol-based additives based on an in situ STM study.