Fix tl_class for a better backend