Partially refractored object event linking code