simplify_type improvements and cursed docs
#97024
Merged
simplify_type improvements and cursed docs
#97024