Basic framework to disable/enable GS.