ScreenArea->type is NULL-ified on read, and need to be initialized (usually by `ED_area_initialize()`), but RNA can also access it before it happens, so need to do it itself...
ScreenArea->type is NULL-ified on read, and need to be initialized (usually by `ED_area_initialize()`), but RNA can also access it before it happens, so need to do it itself...