Changes IoState_registerProtoWithFunc_ with IoState_registerProtoWithId_