(x) [PR-3] Added support for KnownTypeAttribute with method name instead of a type