[MAT-387] Remove terminal methods that took a raw pointer
Revert "[MAT-387] Remove stack flags"

This reverts commit 624f32238db3e14aaa2cad1d6f1261652b44c9d7.
Revert "[MAT-387] Separate symbol visibilty and stack flags"

This reverts commit a18badaeae084918fa02e7aa300504ac1f183c18.
[MAT-387] Document windows flags