Refactor: extract separate object UnitType
SQUASH: Omit Unit return type
Converter: fix assert statement
Converter: remove outdated compatibility import mode
Converter: classes are final by default in the IDE
Converter: functions are final in plugin by default