The Osgood-Schoenflies theorem revisited