Fixing ODE library IoState_protoWithId_ and IoState_registerProtoWithFunc_