remove unneeded visit_ty methods