Migrate deprecated yangtools method

No match.