Fix Resource __callStatic