Preprint: "A topos-theoretic approach to Stone-type dualities"