Commented and made DisableGuardsEvents more readable