Localized after_visit definitions.