Text this: Global stability for a class of discrete SIR epidemic models