simplify global-method-security