method deprecation node visit.