relink define_class
API documentation