Update PyMethodDef with offline functions