Moved after_visit hooks.