[Olena-patches] 560: Keep type_of_ its original semantics, and be consistent with macro names.