Added seh guard wrapper