Replacing ObjectPtr by t_object*