Using kodo_factory_t opaque pointer