[MAT-387] Separate symbol visibilty and stack flags