Comment Comment by injidup The first example is such a straw man. The LocationProvider class has no business being a class. It should just be a function. Problems then go away. parent injidup 4 years ago