Add hook to existing geoprovider classes