Any reason to have this as a separate global variable? I assume you want everyone to use getDefaultSPImp instead of gDefaultSpatialImp, so might as well just have it return the string directly.