Excluded method def visibility test from legacy parser.