Reminder for myself: relevant code for e-antic is e.g. at https://github.com/flatsurf/e-antic/blob/master/libeantic/e-antic/renf_class.hpp
This also requires finishing the new renf_class_construct helper which invokes renf_class::make, which returns a boost::intrusive_ptr.