[Issue 2074490] Adding legacy support for getType
3 files changed