Refactored YANG types resolving.

No match.